<template>
  <div>
    <!-- 对于菜单栏进行判断选择 -->
    <adopt-table v-if="type == AdoptTable && display" :dataItems="this.dataItems"></adopt-table>
  </div>
</template>

<script>
import AdoptTable from '@/components/admin/LineAdopt/AdoptTable.vue';
export default {
    components: {
        AdoptTable,
    },
    name:"tabPane",
    data() {
        return {
            AdoptTable:"AdoptTable"
        }
    },
    props: {
        type: {
            type: String,
            default: null,
            require:true
        },
        display: {
            type:Boolean,
            default:true
        },
        dataItems: {
            type:Object,
            default:null
        }
    },
}
</script>

<style>

</style>